<?php


namespace App\models;


use Consts\RedisKey;
use Helper\Output;
use Helper\Mysql;
use Helper\Redis;
use Helper\Reg;

class FdManager
{


    static public function getFdByUid( $uid ){

        $fd = Redis::getInstance()->hGet(RedisKey::WS_CUSTOMER_UID_TO_FD,$uid);

        return $fd;

    }


    static public function getFdByAuid( $auid ){

        $fd = Redis::getInstance()->hGet(RedisKey::WS_SERVICE_AUID_TO_FD,$auid);

        return $fd;

    }

}